<!-- eslint-disable vue/multi-word-component-names -->
<!-- eslint-disable vue/no-mutating-props -->
<template>
    <labelArea label="控制器参数">
        <el-form size="small" label-suffix=" :">
            <!-- <el-form-item label="源">
                <el-select v-model="config.source">
                    <el-option label="内部" :value="1"></el-option>
                    <el-option label="外部" :value="2"></el-option>
                </el-select>
            </el-form-item> -->
            <el-form-item v-if="config.source == 1" label="X_VEC">
                <el-input v-model="data.X_VEC" placeholder=""></el-input>
            </el-form-item>
            <el-form-item label="Wf_VEC">
                <el-input v-model="data.Wf_VEC" placeholder=""></el-input>
            </el-form-item>
        </el-form>
    </labelArea>
    <!-- <labelArea v-if="config.source == 1" label="自动调节">
        <el-form size="small" label-suffix=" :">
            <el-form-item label="选择调节方法" inline>
                <el-select v-model="config.source">
                    <el-option label="内部" :value="1"></el-option>
                    <el-option label="外部" :value="2"></el-option>
                </el-select>
                <el-button>调节...</el-button>
            </el-form-item>
        </el-form>
    </labelArea> -->


    <!-- <ctcheckbox v-model="data.ZeroCross">启用过零检测</ctcheckbox> -->
</template>

<script setup>
const { data, config } = defineProps(['data', 'config'])


</script>


<style scoped></style>